<template>
  <div class="intelligent-overview">
    <div class="overview-container">
      <!-- 页面标题区域 -->
      <div class="page-header">
        <h1 class="page-title">智能天堂总览</h1>
        <p class="page-description">这里将展示你的AI能力、智能工具、历史记录等内容。</p>
      </div>

      <!-- 主要内容区域 -->
      <div class="content-area">
        <div class="feature-card">
          <div class="card-icon">
            <div class="icon-wrapper">
              <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                <path d="M2 17L12 22L22 17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                <path d="M2 12L12 17L22 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
              </svg>
            </div>
          </div>
          <div class="card-content">
            <h3 class="card-title">智能统计与能力即将上线</h3>
            <p class="card-description">我们正在为您打造一个强大的AI智能平台，敬请期待！</p>
            <div class="coming-soon-badge">
              <span class="badge-text">即将推出</span>
            </div>
          </div>
        </div>

        <!-- 功能预览卡片 -->
        <div class="preview-section">
          <h3 class="section-title">功能预览</h3>
          <div class="preview-grid">
            <div class="preview-item">
              <div class="preview-icon">
                <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M9 12L11 14L15 10" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                  <path d="M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z" stroke="currentColor" stroke-width="2"/>
                </svg>
              </div>
              <div class="preview-text">AI智能分析</div>
            </div>
            <div class="preview-item">
              <div class="preview-icon">
                <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                  <path d="M2 17L12 22L22 17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                  <path d="M2 12L12 17L22 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                </svg>
              </div>
              <div class="preview-text">智能工具集</div>
            </div>
            <div class="preview-item">
              <div class="preview-icon">
                <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M8 12H16" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                  <path d="M12 8V16" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                  <path d="M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z" stroke="currentColor" stroke-width="2"/>
                </svg>
              </div>
              <div class="preview-text">数据可视化</div>
            </div>
            <div class="preview-item">
              <div class="preview-icon">
                <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                  <path d="M2 17L12 22L22 17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                  <path d="M2 12L12 17L22 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                </svg>
              </div>
              <div class="preview-text">智能助手</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
  // 你可以在这里引入AI相关统计、图表等
</script>

<style scoped>
  .intelligent-overview {
    padding: 24px;
    background: var(--theme-background);
    min-height: calc(100vh - 70px);
    transition: all 0.3s ease;
  }

  .overview-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* 页面标题区域 */
  .page-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 32px 0;
  }

  .page-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--theme-text);
    margin: 0 0 16px 0;
    transition: color 0.3s ease;
  }

  .page-description {
    font-size: 18px;
    color: var(--theme-textSecondary);
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
  }

  /* 主要内容区域 */
  .content-area {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  /* 功能卡片 */
  .feature-card {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 4px 20px var(--theme-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
    transition: all 0.3s ease;
  }

  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--theme-shadow);
    border-color: var(--theme-primary);
  }

  .card-icon {
    margin-bottom: 32px;
  }

  .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    border-radius: 50%;
    color: var(--theme-surface);
    transition: all 0.3s ease;
  }

  .icon-wrapper svg {
    width: 40px;
    height: 40px;
  }

  .feature-card:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(24, 144, 255, 0.3);
  }

  .card-content {
    max-width: 600px;
    margin: 0 auto;
  }

  .card-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--theme-text);
    margin: 0 0 16px 0;
    transition: color 0.3s ease;
  }

  .card-description {
    font-size: 16px;
    color: var(--theme-textSecondary);
    margin: 0 0 24px 0;
    line-height: 1.6;
    transition: color 0.3s ease;
  }

  .coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: var(--theme-surface);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .feature-card:hover .coming-soon-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.4);
  }

  /* 功能预览区域 */
  .preview-section {
    text-align: center;
  }

  .section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--theme-text);
    margin: 0 0 32px 0;
    transition: color 0.3s ease;
  }

  .preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
  }

  .preview-item {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .preview-item:hover {
    transform: translateY(-2px);
    border-color: var(--theme-primary);
    box-shadow: 0 4px 20px var(--theme-shadow);
  }

  .preview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--theme-background);
    border-radius: 12px;
    margin-bottom: 16px;
    color: var(--theme-primary);
    transition: all 0.3s ease;
  }

  .preview-icon svg {
    width: 30px;
    height: 30px;
  }

  .preview-item:hover .preview-icon {
    background: var(--theme-primary);
    color: var(--theme-surface);
    transform: scale(1.1);
  }

  .preview-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--theme-text);
    margin: 0;
    transition: color 0.3s ease;
  }

  /* 响应式设计 */
  @media (max-width: 768px) {
    .intelligent-overview {
      padding: 16px;
    }

    .page-title {
      font-size: 28px;
    }

    .page-description {
      font-size: 16px;
    }

    .feature-card {
      padding: 32px 24px;
    }

    .card-title {
      font-size: 24px;
    }

    .preview-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .preview-item {
      padding: 20px 16px;
    }
  }

  @media (max-width: 576px) {
    .page-header {
      margin-bottom: 32px;
      padding: 24px 0;
    }

    .page-title {
      font-size: 24px;
    }

    .feature-card {
      padding: 24px 20px;
    }

    .preview-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .icon-wrapper {
      width: 60px;
      height: 60px;
    }

    .icon-wrapper svg {
      width: 30px;
      height: 30px;
    }
  }

  /* 深色主题特殊处理 */
  [data-theme="dark"] .feature-card::before {
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
  }

  [data-theme="dark"] .icon-wrapper {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
  }

  [data-theme="dark"] .coming-soon-badge {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
  }

  [data-theme="dark"] .preview-icon {
    background: var(--theme-background);
    color: var(--theme-primary);
  }

  [data-theme="dark"] .preview-item:hover .preview-icon {
    background: var(--theme-primary);
    color: var(--theme-surface);
  }
</style>
